package com.clpms.bean.req;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * @author caixinyong
 * @date 2023/5/1 5:22 PM
 */

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TeacherAddReq {

	private Long id;

	@NotBlank(message = "教师名称不能为空")
	private String name;

	@NotBlank(message = "教师工号不能为空")
	private String jobNumber;

	@NotNull(message = "角色不能为空")
	private Integer roleType;
}
